﻿using System.Data;

namespace DbExtendedProvider
{
	public class DummyTransaction : IDbTransaction
	{
		public DummyTransaction(IDbConnection connection,
		                        IsolationLevel isolationLevel)
		{
			Connection = connection;
			IsolationLevel = isolationLevel;
		}

		public void Dispose()
		{
		}

		public void Commit()
		{
		}

		public void Rollback()
		{
		}

		public IDbConnection Connection { get; private set; }
		public IsolationLevel IsolationLevel { get; private set; }
	}
}